﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'PRC_TB_STATES_SE')
	BEGIN
		DROP  Procedure  dbo.PRC_TB_STATES_SE
	END

GO

CREATE Procedure dbo.PRC_TB_STATES_SE

AS

select
	TS_ID,
	TS_DESCRIPTION
from tb_states
order by TS_DESCRIPTION

GO

GRANT EXEC ON dbo.PRC_TB_STATES_SE TO PUBLIC

GO

